package cn.iocoder.aics.module.member.controller.admin.chathistory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 聊天记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ChatHistoryRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9294")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "类型", example = "1")
    @ExcelProperty("类型")
    private Integer type;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11218")
    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "上下文ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11218")
    private Long contextId;

    @Schema(description = "问题", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("问题")
    private String question;

    @Schema(description = "答案")
    @ExcelProperty("答案")
    private String answer;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}